package com.wgl.hospclient.inteface;

import com.wgl.model.user.Patient;
import com.wgl.model.vo.hosp.ScheduleOrderVo;
import com.wgl.model.vo.order.SignInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wgl
 * @version 1.0.0
 * @ClassName PatientFeignClient.java
 * @Description TODO
 * @createTime 2022年02月13日 22:55:00
 */
@Component
@FeignClient("service-hosp")
public interface HospitalFeignClient {
    @GetMapping("/api/hosp/hospital/inner/getScheduleOrderVo/{scheduleId}")
    public ScheduleOrderVo getScheduleOrderVo(@PathVariable String scheduleId);

    @GetMapping("/api/hosp/hospital/inner/getSignInfoVo/{hoscode}")
    public SignInfoVo getSignInfoVo(@PathVariable("hoscode") String hoscode);
}
